package net.sedion.wwf.controller;

import com.jfinal.core.Controller;

/**
 * @author WWF
 */
public class IndexController extends Controller {

    public void index() {
        renderTemplate("index.html");
    }

    public void json() {
        setAttr("success", true);
        setAttr("message", "访问正确");
        setAttr("error", "");
        renderJson();
    }

}
